package com.zansc.longd.model.code;

import lombok.Getter;

@Getter
public enum ErrorCode implements BaseCodeInterface {
    BODY_NOT_MATCH(400,"请求的数据格式不符!"),
    SIGNATURE_NOT_MATCH(401,"请求的数字签名不匹配!"),
    NOT_USERNAME(404,"用户不存在!"),
    NOT_PASSWORD(405,"密码错误，请重新输入！！！");
    /** 错误码 */
    private int resultCode;
    
    /** 错误描述 */
    private String resultMsg;
    
    ErrorCode(int resultCode, String resultMsg) {
        this.resultCode = resultCode;
        this.resultMsg = resultMsg;
    }
}
